﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace L11
{
    class Animal
    {
        public void Walk()
        {
            Console.WriteLine("我会走路！");
        }
        public void Eat()
        {
            Console.WriteLine("我会吃！");
        }
        public void Sleep()
        {
            Console.WriteLine("我会睡觉！");
        }
        public virtual void Cry()
        {
            Console.WriteLine("我要叫了哦");
        }
    }
}
